<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>4、命令模式</title>
    <style>
        .ball {
            background-color: #fe007f;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            transition: transform 2s ease;
        }
    </style>
</head>

<body>
    <button id="btn1">这里是按钮1</button>
    <button id="btn2">这里是按钮2</button>
    <button id="btn3">这里是按钮3</button>
    <button id="btn4">这里是按钮4</button>
    <button id="btn5">这里是按钮5</button>

    <div class="ball"></div>
    输入小球移动后的位置：<input id="pos">
    <button id="move">开始移动</button>

    <button id="cancel">撤销移动</button>

    <button id="replay">回放</button>

    <script src="./../dist/4、命令模式/4、main.js"></script>
</body>

</html>